<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <title></title>
	<link rel="stylesheet" href="${data:dependencies.cmp}/css/cmp.css${data:buildversion}">
    <link rel="stylesheet" href="${data:dependencies.cmp}/css/cmp-sliders.css${data:buildversion}">
    <link rel="stylesheet" href="${data:dependencies.cmp}/css/cmp-dateCalender.css${data:buildversion}">
    <link rel="stylesheet" href="${data:dependencies.portal}/css/portal.css${data:buildversion}">
    <link rel="stylesheet" href="${data:dependencies.portal}/css/iconfont.css${data:buildversion}">
</head>

<body>
    <!-- 内容区 -->
    <div id="portalBody" class="wrapper"></div>
    <!-- 个性化设置,暂时注释掉,勿删~~~ -->
    <div id="spaceSelectionSort" style="z-index: 11; display: none;" class="GM_Alert_Content Animated-Container bottom-go animated">
    </div>
    <!-- 栏目的tpl模板，含标题区和内容区，不含数据 -->
    <script type="text/html" id="columnTpl">
        <% var isfromAddMulti = this.items.length > 1; %>
        <% var _thisSP = this.items[0].SP; %>
        <% var _columnSectionClass = ''; if(isfromAddMulti){ _columnSectionClass = 'multiColumnSection'; } %>
        <div class="columnSection <%= _columnSectionClass %>" id="columnSection_<%= this.id %>">
            <% if(isfromAddMulti){ %>
            <div class="column_header_tab<%= _thisSP.multiColumnStyle %>" id="columnHeader_<%= this.id %>" style="display:none">
                <ul>
                    <% for( var i=0; i < this.items.length; i++ ){ %>
                        <% var thisItemsId = isfromAddMulti?_thisSP.sectionUUIDs.split(",")[i]:this.items[i].id; %>
                        <% var _tabTextColorLow = _thisSP.tabTextColor.colorRgb().replace("rgb","rgba").replace(")",",0.8)"); %>
                        <% var _currentClass = ''; if(i==0){ _currentClass = 'currentTab'; } %>
                        <% var _liColor = _tabTextColorLow; if(i==0){ _liColor = _thisSP.tabTextColor; } %>
                        <% var _totalStr=''; if(this.items[i].Total){ _totalStr = this.items[i].Total; } %>

                        <% if(_thisSP.multiColumnStyle == "1"){ %>
                            <% if(_totalStr != ""){ _totalStr = '('+_totalStr+')'; } %>
                            <li id="sectionName_<%= thisItemsId %>" class="<%= _currentClass %>" _index="<%= i %>" style="color:<%= _liColor %>">
                                <span class="iconAndText"><% if(_thisSP.showIcon == "1"){ %>
                                    <% var _iconGroupColor = _thisSP.iconGroupColor.split(";"); %>
                                    <% var _customSectionIcon = _thisSP["customSectionIcon:"+i]; %>
                                    <% var _iconGroupColorI = _iconGroupColor.length > 1?_iconGroupColor[i]:_iconGroupColor; %>
                                    <% if(_customSectionIcon != ""){ %><span class="iconBg" style="background:<%= _iconGroupColorI  %> ; color: <%= _thisSP.iconColor %>"><% if(_customSectionIcon.indexOf("vp-") > -1){ %><i class="vportal <%= _customSectionIcon%>"></i><% } else{ %> <img src="<%= _v5Path + _customSectionIcon %>"> <% } %></span><% } %>
                                <% } %><%= this.items[i].name %><span class="totalNum"><%= _totalStr %></span><span class="currentLine" style="background: <%= _thisSP.underlineColor %>"></span></span></li>
                        <% } else{ %>
                            <li id="sectionName_<%= thisItemsId %>" class="<%= _currentClass %>" _index="<%= i %>"  style="color:<%= _liColor %>"><b class="totalNum"><%= _totalStr %></b><span><%= this.items[i].name %></span><span class="currentLine" style="background: <%= _thisSP.underlineColor %>"></span></li>
                        <% } %>
                    <% } %>
                </ul>
            </div>
            <% } else{ %>
                <% if(this.showHeader){ %>
                    <div class="column_header" id="columnHeader_<%= this.id %>" style="display:none">
                        <div class="column_header_title cmp-ellipsis" id="columnTitle_<%= this.id %>"><%= this.items[0].name %></div>
                        <div class="column_header_more"  id="columnMore_<%= this.id %>">
                            <% if(this.items[0].sectionId != "shortCutIconSection"){ %>
                            <i class="icon iconfont icon-arrowRight"></i>
                            <% } %>
                        </div>
                    </div>
                <% } %>
            <% } %>
            <% if(isfromAddMulti){ %>
                <div class="multiColumnSection_body" id="multiColumnSection_body<%= this.id %>">
            <% } %>
                    <div class="column_body" id="columnBody_<%= this.id %>"></div>
            <% if(isfromAddMulti){ %>
                    <% for( var i=0; i < this.items.length; i++ ){ %>
                    <% var thisItemsId = isfromAddMulti?this.items[0].SP.sectionUUIDs.split(",")[i]:this.items[i].id; %>
                        <% var _hideMoreClass = 'display_block'; if(i!=0){ _hideMoreClass = 'display_none'; } %>
                        <div class="column_header_more <%= _hideMoreClass %>"  id="columnMore_<%= thisItemsId %>">
                            <% if(this.items[0].sectionId != "shortCutIconSection"){ %>
                            <i class="icon iconfont icon-arrowRight"></i>
                            <% } %>
                        </div>
                    <% } %>
                </div>
            <% } %>
        </div>
    </script>
    <!-- 未知的栏目类型 -->
    <script id="columnTpl_other" type="text/html">
        <div class="column_noData">
            <div class="noDataIcon">
                <i class="icon iconfont icon-noData"></i>
            </div>
            <div class="noDataText"><i18n key="portal.label.unknown_error"></i18n></div>
        </div>
    </script>

    <script id="columnTpl_multiRowVariableColumnTemplete" type="text/html">
        <div style="height: 60px;text-align: center;">待开发模版</div>
    </script>

    <! -- 国际化顺序 1应用的国际化 2cmp-i18n.js 3去国际化 4加载cmp -->
    <script src="<s3:data name='dependencies.portal' />/i18n/Portal_zh_CN.js${data:buildversion}"></script>
    <script src="${data:dependencies.cmp}/js/cmp-i18n.js${data:buildversion}"></script>
    <script>
        var scrollText;
        cmp.i18n.init("${data:dependencies.portal}/i18n/","Portal",function(){
            scrollText = {
                "pullDownLable": cmp.i18n("portal.page.down_fresh"),
                "pullingDownLable": cmp.i18n("portal.page.release_fresh"),
                "pullUpLable": cmp.i18n("portal.page.up_load"),
                "pullingUpLable": cmp.i18n("portal.page.release_load"),
                "loadingLable": cmp.i18n("portal.page.loading"),
                "pullDownSuccess": cmp.i18n("portal.page.load_success"),
                "nomore": "<div class='showOperateArea'><div class='showOperate'><i class='iconfont icon-set'></i></div><span class='showOperateText'>"+cmp.i18n("portal.page.custom_column")+"</span></div>"
            }
        });
    </script>
    <script src="${data:dependencies.cmp}/js/cmp.js${data:buildversion}"></script>


	
	<s3:data name='cordova' />
    <script type="text/javascript">
        var $verstion = "${data:buildversion}";
    </script>
	<s3:data name='CollDatas.footerScript' />
	
    
	<script src="${data:dependencies.cmp}/js/cmp-webviewListener.js${data:buildversion}"></script>
	<script src="${data:dependencies.cmp}/js/cmp-asyncLoad.js${data:buildversion}"></script>
    <script src="${data:dependencies.cmp}/js/cmp-app.js${data:buildversion}"></script>
    <script src="${data:dependencies.cmp}/js/cmp-sliders.js${data:buildversion}"></script>

    <!-- 部分栏目会调用里面的rest接口 -->
    <s3:data name='portalJssdk' />

    

    <!--↓↓↓↓ 磁贴调用js ↓↓↓↓-->
    <script src="${data:dependencies.cmp}/js/cmp-ajax-fast.js${data:buildversion}"></script>
    <script src="${data:dependencies.cmp}/js/cmp-barcode.js${data:buildversion}"></script>
    <script src="${data:dependencies.cmp}/js/cmp-att.js${data:buildversion}"></script>
    <script src="${data:dependencies.biz}/biz_m_api.s3js${data:buildversion}" type="text/javascript"></script>
    <script src="${data:dependencies.collaboration}/collaboration_m_api.s3js${data:buildversion}" type="text/javascript"></script>
    <script src="${data:dependencies.formqueryreport}/formqueryreport_m_api.s3js${data:buildversion}" type="text/javascript"></script>
    <script src="${data:dependencies.cap4}/cap4_m_api.s3js${data:buildversion}" type="text/javascript"></script>
    <script src="${data:dependencies.portal}/portal_m_api.s3js${data:buildversion}" type="text/javascript"></script>
    <script src="${data:dependencies.vreport}/vreport_m_api.s3js${data:buildversion}" type="text/javascript"></script>
    <script src="${data:dependencies.doc}/doc_m_api.s3js${data:buildversion}" type="text/javascript"></script>
    <!--↑↑↑↑ 磁贴调用js （vreport 依赖 formq/portal/cap4/） ↑↑↑↑-->
    <script src="${data:dependencies.portal}/js/iscroll-probe.js${data:buildversion}"></script>
    <script src="${data:dependencies.portal}/js/portal.js${data:buildversion}"></script>
    <script src="${data:dependencies.cmp}/js/cmp-sortable.js${data:buildversion}"></script>
    <!-- <script src="${data:dependencies.portal}/js/spaceSelectionSort.js${data:buildversion}"></script> 空间排序 -->
    

    
    <!-- <link rel="stylesheet" href="${data:dependencies.portal}/css/debug.css${data:buildversion}">
    <script src="${data:dependencies.portal}/js/m3-debug.js${data:buildversion}"></script> 小蜘蛛调试-->

</body>

</html>
